﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using DevExpress.XtraEditors;

namespace CustomControlz.XtraEditors.Comboz
{
    public partial class ccComboBoxEdit : ComboBoxEdit
    {
        public ccComboBoxEdit()
        {
            InitializeComponent();
        }

        public string Value
        {
            get
            {
                if (SelectedIndex >= 0)
                    return Text;
                return null;
            }
            set
            {
                Text = value;
            }

        }
    }
}
